Platform Explorer / Nuxeo Platform 2021.50

Operation Context.PullDocument (Pull Document)

Description

Restore the first saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the first pushed document.
Operation id Context.PullDocument
AliasesDocument.Pull
Category Push & Pop
Label Pull Document
Requires
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.stack.PullDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Context.PullDocument",
  "aliases" : [ "Document.Pull" ],
  "label" : "Pull Document",
  "category" : "Push & Pop",
  "requires" : null,
  "description" : "Restore the first saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the first <i>pushed</i> document.",
  "url" : "Context.PullDocument",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}